Package pl.wendigo.chrome.api.accessibility

Contains DevTools Protocol Accessibility domain implementation accessible via AccessibilityDomain class.

Types

AccessibilityDomain
Link copied to clipboard
class AccessibilityDomain : Domain
AccessibilityDomain represents Accessibility protocol domain request/response operations and events that can be captured.
AXNode
Link copied to clipboard
data class AXNode(nodeId: AXNodeId, ignored: Boolean, ignoredReasons: List<AXProperty>?, role: AXValue?, name: AXValue?, description: AXValue?, value: AXValue?, properties: List<AXProperty>?, childIds: List<AXNodeId>?, backendDOMNodeId: BackendNodeId?)
A node in the accessibility tree.
AXNodeId
Link copied to clipboard
typealias AXNodeId = String

Unique accessibility node identifier.

AXProperty
Link copied to clipboard
data class AXProperty(name: AXPropertyName, value: AXValue)
AXPropertyName
Link copied to clipboard
enum AXPropertyName : Enum<AXPropertyName>
Values of AXProperty name:
  • from &apos;busy&apos; to &apos;roledescription&apos;: states which apply to every AX node

  • from &apos;live&apos; to &apos;root&apos;: attributes which apply to nodes in live regions

  • from &apos;autocomplete&apos; to &apos;valuetext&apos;: attributes which apply to widgets

  • from &apos;checked&apos; to &apos;selected&apos;: states which apply to widgets

  • from &apos;activedescendant&apos; to &apos;owns&apos; - relationships between elements other than parent/child/sibling.

AXRelatedNode
Link copied to clipboard
data class AXRelatedNode(backendDOMNodeId: BackendNodeId, idref: String?, text: String?)
AXValue
Link copied to clipboard
data class AXValue(type: AXValueType, value: JsonElement?, relatedNodes: List<AXRelatedNode>?, sources: List<AXValueSource>?)
A single computed AX property.
AXValueNativeSourceType
Link copied to clipboard
enum AXValueNativeSourceType : Enum<AXValueNativeSourceType>
Enum of possible native property sources (as a subtype of a particular AXValueSourceType).
AXValueSource
Link copied to clipboard
data class AXValueSource(type: AXValueSourceType, value: AXValue?, attribute: String?, attributeValue: AXValue?, superseded: Boolean?, nativeSource: AXValueNativeSourceType?, nativeSourceValue: AXValue?, invalid: Boolean?, invalidReason: String?)
A single source for a computed AX property.
AXValueSourceType
Link copied to clipboard
enum AXValueSourceType : Enum<AXValueSourceType>
Enum of possible property sources.
AXValueType
Link copied to clipboard
enum AXValueType : Enum<AXValueType>
Enum of possible property types.
GetChildAXNodesRequest
Link copied to clipboard
data class GetChildAXNodesRequest(id: AXNodeId)
Represents request frame that can be used with Accessibility#getChildAXNodes operation call.
GetChildAXNodesResponse
Link copied to clipboard
data class GetChildAXNodesResponse(nodes: List<AXNode>)
Represents response frame that is returned from Accessibility#getChildAXNodes operation call.
GetFullAXTreeRequest
Link copied to clipboard
data class GetFullAXTreeRequest(max_depth: Int?)
Represents request frame that can be used with Accessibility#getFullAXTree operation call.
GetFullAXTreeResponse
Link copied to clipboard
data class GetFullAXTreeResponse(nodes: List<AXNode>)
Represents response frame that is returned from Accessibility#getFullAXTree operation call.
GetPartialAXTreeRequest
Link copied to clipboard
data class GetPartialAXTreeRequest(nodeId: NodeId?, backendNodeId: BackendNodeId?, objectId: RemoteObjectId?, fetchRelatives: Boolean?)
Represents request frame that can be used with Accessibility#getPartialAXTree operation call.
GetPartialAXTreeResponse
Link copied to clipboard
data class GetPartialAXTreeResponse(nodes: List<AXNode>)
Represents response frame that is returned from Accessibility#getPartialAXTree operation call.
QueryAXTreeRequest
Link copied to clipboard
data class QueryAXTreeRequest(nodeId: NodeId?, backendNodeId: BackendNodeId?, objectId: RemoteObjectId?, accessibleName: String?, role: String?)
Represents request frame that can be used with Accessibility#queryAXTree operation call.
QueryAXTreeResponse
Link copied to clipboard
data class QueryAXTreeResponse(nodes: List<AXNode>)
Represents response frame that is returned from Accessibility#queryAXTree operation call.